<script setup>
import { ref, reactive, onMounted } from "vue";
import { useRoute } from "vue-router";
const isShow = ref(true);
const route = useRoute();
const message = ref("");
message.value = route.query.message;
</script>

<template>
  <van-dialog
    v-model:show="isShow"
    confirm-button-text="我知道了"
    confirm-button-color="#2D78ED"
  >
    <div class="dialog-content">{{ message }}</div>
  </van-dialog>
</template>

<style scoped>
.dialog-content {
  text-align: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 400;
}
</style>